*
{
    padding:0;
    margin:0;
    box-sizing: border-box;
}
body{
    background-position: center;
    background-color: whitesmoke;
    background-size: cover;
    font-family: sans-serif;
    overflow-x: hidden;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
#Contacts-container{
    padding: 80px 0;
    color: #ababab;
    height: auto;
    margin-top: 0;
    height: 110vh;
}
.display-pic{
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    background-position: center;
    align-items: center;
    justify-content: center;
    background-size: cover;
    height: 350px; /* Adjust height as needed */
    overflow: hidden;
    position: relative;
    z-index: -1;
}
.home-text {
    position: absolute;
    top: 50%; left: 50%; 
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 25px;
    font-weight: 500;
    color: red;
    align-items: center;
    align-content: center;
}
#heading{
    margin-top: -70px;
    font-weight: 600;
    color: #fff;
    font-size: 60px;
}
.home-text p{
    font-size: 24px;
}
.display-pic img{
    background-position: center;
    height: auto;

}
.Contacts-container {
    max-width: 1200px;
    margin: 40px;
    background: linear-gradient(to right, #917b77, #feb47b);
    padding: 30px;
    height: 45vh;
}
.sub-heading{
    position: relative;
    width: 100%;
    height: 40vh;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .sub-heading h3{
    position: absolute;
    top: 15%;
    left: 70px;
    color: black; /* Adjust text color as needed */
    text-align: center;
    align-items: center;
    padding: 20px; /* Add padding for spacing around text */
    margin: 10px;
} 
  .sub-heading p {
    position: absolute;
    top: 30%;
    left: 30%;
    color: black; /* Adjust text color as needed */
    text-align: center;
    align-items: center;
    padding: 20px; /* Add padding for spacing around text */
    margin: 0 10px;
} 
.sub-heading h3 {
    font-size: 28px;
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.sub-heading p {
    font-size: 20px;
    margin-top: 50px;
    margin-bottom: 5px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Column One - Contact Form */
.contact-form-column {
    flex: 35%;
    min-width: 270px;
    margin-right: 20px;

}
.contact-inquiry-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    width: 480px;
}

.contact-form__label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.contact-form__input::-webkit-input-placeholder,
.contact-form__textarea::-webkit-input-placeholder {
    color: #999;
    font-size: 14px;
}
.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
}

/* Style when user types in the input */
.contact-form__input:not(:placeholder-shown),
.contact-form__textarea:not(:placeholder-shown) {
    color: #333;
}
.contact-form__submit-btn {
    background: #007bff;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    align-self: flex-start;
}

.contact-form__submit-btn:hover {
    background: #0056b3;
}

/* Column Two - Contact Info Grid */
.About-column-two {
    flex: 53%;
    min-width: 300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.About-column-two div {
    background: #e3d4d4;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.About-column-two i {
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 5px;
    color: #007bff;
}

.About-column-two ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.About-column-two ul li {
    margin-bottom: 8px;
}
.contact-details h3{
    font-size: 28px;
    font-weight: 500;
    color: black;
}
.contact-details li{
    font-size: 16px;
    color: black;

}
.form-status {
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
}

.contact-form__input.error,
.contact-form__select.error,
.contact-form__textarea.error {
    border: 2px solid red;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.form-status.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.form-status.error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}
/* Responsive Design */
@media (max-width: 600px) {
    .About-column-two {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .About-column-one,
    .About-column-two {
        flex: 0%;
    }
}

/* Social Media Icons in Grid */
.About-column-two .social-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.About-column-two .social-icons a {
    color: #007bff;
    font-size: 20px;
    transition: 0.3s;
}

.About-column-two .social-icons a:hover {
    color: #0056b3;
}
@media (max-width: 600px) {
    .menu-bar {
        height: 13vh;
        flex-direction: column;
        padding: 10px;
    }

    .logo {
        width: 100%;
        text-align: left;
        margin: 10px 0;
    }

    .logo h1 {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .menu-bar ul {
        position: fixed;
        background: rgb(58, 136, 129);
        top: 0;
        right: 0;
        width: 250px;
        height: 44vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-bar ul li {
        width: 100%;
        margin: 0;
        padding: 10px;
        border-bottom: 1px dotted #fff;
    }

    .menu-bar ul li a {
        display: block;
        width: 100%;
    }

    .sub-menu-1 {
        position: static;
        display: none;
        margin: 0;
        width: 100%;
    }

    .menu-bar ul li:hover .sub-menu-1
    {
        display: block;
        position: absolute;
        background: rgb(58, 136, 129);
        margin-top: 15px;
        margin-left: -25px;
    }
    .menu-bar ul li:hover .sub-menu-1 ul
    {
        display: block;
        margin: 10px;
    }

    .sub-menu-2 {
        position: static;
        display: none;
        margin: 0;
        width: 100%;
    }

    .hover-me:hover .sub-menu-2 {
        position: static;
        margin: 0;
        margin-left: -10px; /* Shift content to the left */
    }

    .fa-angle-down,
    .fa-angle-right {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        float: none;
    }

    /* Mobile Menu Toggle */
    .fas.fa-bars,
    .fas.fa-times {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        font-size: 27px;
        cursor: pointer;
        z-index: 3;
        color: white;
    }

    .fas.fa-times {
        right: 200px;
    }

/* Accessibility and Interaction Enhancements */
    .menu-bar ul li a:hover {
        color: violet;
    }
    .menu-bar ul li:hover .sub-menu-1,
    .hover-me:hover .sub-menu-2 {
        position: static;
        margin: 0;
    }
    #Contacts-container {
      padding: 10px 0;
      height: auto; /* Remove fixed height */
    }
  
    .display-pic {
      height: 420px; /* Adjust height as needed */
    }
  
    .home-text {
      font-size: 18px;
      margin-top: 25%;
      font-weight: 600;
    }
  
    #heading {
      font-size: 30px;
      font-weight: 700;
      margin-top: 10%;
    }
  
    .home-text p {
      font-size: 16px;
    }
  
    .Contacts-container {
      max-width: 100%;
      height: auto;
      margin: 20px;
      padding: 20px;
    }
  
    .sub-heading h3,
    .sub-heading p {
      font-size: 18px;
      position: static; /* Remove absolute positioning */
      text-align: center;
      margin: 10px 0;
    }
  
    .row {
      flex-direction: column; /* Stack elements vertically */
      margin-bottom: -580px;
    }
  
    .contact-form-column,
    .About-column-two {
      flex: 100%; /* Make each column full width */
      margin-bottom: 20px;
    }
  
    .contact-inquiry-form {
      width: 100%;
    }

  
  }
